package com.mldong.modules.sys.mapper;

import com.mldong.modules.sys.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.mldong.modules.sys.vo.UserVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
 * <p>
 * 用户 Mapper 接口
 * </p>
 *
 * @author mldong
 * @since 2022-10-06
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<UserVO> selectCustom(IPage<UserVO> page, @Param(Constants.WRAPPER) Wrapper<User> wrapper);
    UserVO selectByIdCustom(@Param("id") Long id);
}
